package cn.yuxiaoyuan.article.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ArticleType {
    private Long    id;
    private String  typeName;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date    createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date    updateTime;
    private Long    parentId;
    /* 父级的名字 */
    private String parentName;


}
